import Layout from '@/layout'
export default [
  {
    path: '/order',
    name: 'order',
    component: Layout,
    redirect: 'order/ordersetting',
    meta: { title: '订单', icon: '菜单' },
    children: [
      {
        path: 'orderList',
        name: 'orderList',
        component: () => import('@/views/orderpage/components/orderList'),
        meta: {
          title: '订单列表',
          icon: '商品列表'
        }
      },
      {
        path: 'ordersetting',
        name: 'ordersetting',
        component: () => import('@/views/orderpage/components/ordersetting'),
        meta: {
          title: '订单设置',
          icon: '人员管理'
        }
      },
      {
        path: 'orderapply',
        name: 'orderapply',
        component: () => import('@/views/orderpage/components/orderapply'),
        meta: {
          title: '退货申请处理',
          icon: '退货'
        }
      },
      {
        path: 'orderreason',
        name: 'orderreason',
        component: () => import('@/views/orderpage/components/orderreason'),
        meta: {
          title: '退货原因设置',
          icon: '退货单'
        }
      }
    ]
  }
]
